﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuanLyThuVien.DTO;
using QuanLyThuVien.DAO;
using System.Data;

namespace QuanLyThuVien.BUS
{
    class SoGhiNoBUS
    {
        public static void LapPhieuNo(SoGhiNoDTO x)
        {
            SoGhiNoDAO.ThemPhieuNo(x);
        }
        public static void SuaPhieuNo(SoGhiNoDTO s)
        {
            SoGhiNoDAO.SuaPhieuNo(s);
        }
        public static double LayTongNo(int MaDG)
        {
            return SoGhiNoDAO.LayTongNo(MaDG);
        }
        public static DataTable ThongTinSoNo()
        {
            return SoGhiNoDAO.ThongTinSoNo();
        }
        public static DataTable DocGiaNo(int MaDG)
        {
            return SoGhiNoDAO.DocGiaNo(MaDG);
        }
        public static DataTable LayTongNoVaMaSoGhiNo(int MaDG)
        {
            return SoGhiNoDAO.LayTongNoVaMaSoGhiNo(MaDG);
        }

        //truyen
        //public static DataTable TienNo()
        //{
        //    return SoGhiNoDAO.TienNo();
        //}

    }
}
